package org.example.modules.user.entry;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @Description UserWallet
 * @Author xiaotian
 * @Date 2025-04-20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user_wallet")
public class UserWallet {
    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("user_name")
    private String UserName;

    @TableField("money")
    private BigDecimal money;

    @TableField("before_money")
    private BigDecimal beforeMonry;

    @TableField("update_time")
    private String updateTime;

}
